provider Prevent POST /api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repository/{repository}/token/regenerate/
@utdk/sentry /api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repository/{repository}/token/regenerate/
Regenerates a repository upload token and returns the new token
Regenerates a repository upload token and returns the new token.
organization_id_or_slug path required
The ID or slug of the organization the resource belongs to.
string
owner path required
The owner of the repository.
string
repository path required
The name of the repository.
string

Try it

Authentication
Configure credentials for API Reference
regeneratesARepositoryUploadTokenAndReturnsTheNewToken
POST/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repository/{repository}/token/regenerate/
Regenerates a repository upload token and returns the new token.

Parameters

required

The ID or slug of the organization the resource belongs to.

required

The owner of the repository.

required

The name of the repository.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sentry from '@utdk/sentry';

await sentry.regeneratesARepositoryUploadTokenAndReturnsTheNewToken()